package com.itheima.innerClass.test_innerClass;

public class Test1Inner {
    public static void main(String[] args) {
        outer.inner oI = new outer().new inner();
        oI.method();
        System.out.println(oI.a);
    }
}

class outer {

    private int num = 10;

    class inner {
        int a = 5;
        public void method(){
            System.out.println("我是内部类当中的method方法");
            System.out.println(num);
        }

    }

}